<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Home</title>
</head>
<body>

	<div id="container" style="width: 100%; height: 100%;" >

		<div id="header"
			style="margin-top: 0; background-color: #FFA500; height: 9%">
			<div id="name"
				style="height: 10%; float: left; background-color: #FFA500; width: 74.5%">
				<h1 style="margin-bottom: 0;">Veilingsite</h1>
			</div>
			<div id="login"
				style="height: 10%; float: right; width: 24.5%; background-color: #FFA500;">
				<%
					if (session.getAttribute("currentSessionUser") == null) {
						%>
				<jsp:include page="loginField.jsp" />
				<%
					}
					if (session.getAttribute("currentSessionUser") != null) {
						String authorized = (String) session.getAttribute("currentSessionUser");
						if (authorized.equals("yes")) {
							%>
				<jsp:include page="loggedIn.jsp" />
				<%
						}
					}
				%>

			</div>
		</div>
		<div id="content1"style="width: 100%; height: 85%; float: left; overflow: hidden;">
			<jsp:include page="menu.jsp" />
			<div id="content" style="heigth: 85%; overflow: auto;">
				<div id="content2" style="heigth: 85%; overflow: auto;">
					<jsp:include page="auctions.jsp" />
				</div>
			</div>


		</div>
	</div>
		

</body>
</html>